package com.ai.model.excelParam;

import com.ai.config.easyExcel.AlarmRecordImageConverter;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.net.URL;
import java.util.Date;

/**
 * @Author jiaok
 * @Date 2024-12-25 15:23
 */
@Data
@ContentRowHeight(100)
public class RecordAlarmExcelVo implements Serializable {

    @ExcelProperty(value = "摄像头名称")
    private String cameraNickname;

    @ExcelProperty(value = "区域名")
    private String regionName;


    @ExcelProperty(value = "功能名称")
    private String functionNickname;

    @ExcelProperty(value = "告警照片", converter = AlarmRecordImageConverter.class)
    @ColumnWidth(60)
    private String snapPhoto;


    @ExcelProperty(value = "是否误报")
    private String isError;

    @ExcelProperty(value = "误报审核意见")
    private String reviewComments;

    @ExcelProperty(value = "告警时间")
    private String createTime;

}
